import Index from "../pages/Index.vue";
import Team from "../pages/Team.vue";
import My from "../pages/My.vue";
import SearchPage from "../pages/SearchPage.vue";
import SearchResultPage from "../pages/SearchResultPage.vue";
import MyLogin from "../pages/MyLogin.vue";
import MyUpdatePage from "../pages/MyUpdatePage.vue";
import MyEditPage from "../pages/MyEditPage.vue";
import TeamAdd from "../pages/TeamAdd.vue";
import MyTeams from "../pages/MyTeams.vue";
import TeamUpdate from "../pages/TeamUpdate.vue";
import Register from "../pages/Register.vue";


const routes = [
    {path: '/', component: Index},
    {path: '/team', component: Team},
    {path: '/my', component: My},
    {path: '/my/login', component: MyLogin},
    {path: '/my/update/edit', component:MyEditPage},
    {path: '/my/update', component: MyUpdatePage},
    {path: '/search', component: SearchPage},
    {path: '/user/list', component: SearchResultPage},
    {path: '/team/add', component: TeamAdd},
    {path: '/team/update', component: TeamUpdate},
    {path: '/my/teams', component: MyTeams},
    {path: '/register', component: Register},
]

export default routes;